﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcEngine.Core.Models.Entities;
using MvcEngine.Core.Validation;

namespace MvcEngine.ItemList.Models.Entities
{
    public class ItemList
    {
        public Guid Id { get; set; }

        public Guid PageId { get; set; }

        [RequiredFieldValidator("$RequiredValidator")]
        [LengthValidator("$LengthValidator", 250)]
        public string Title { get; set; }

        public string Description { get; set; }

        public string ShortContent { get; set; }

        public string Content { get; set; }

        public int CreatedBy { get; set; }

        public DateTime CreatedDate { get; set; }

        public int ModifiedBy { get; set; }

        public DateTime ModifiedDate { get; set; }
    }
}
